package com.zjitc.dao;

import com.zjitc.pojo.Express;

import org.apache.ibatis.annotations.Param;

/**
 * Create By IntelliJ IDEA
 *
 * @author:
 * @create-Time: 2017/12/8  14:46
 */
public interface ExpressDao {

  /**
   * add
   * @param code
   * @param oid
   * @return
   */
  int add(@Param("code") String code,@Param("oid") String oid);

  /**
   * check
   * @param oid
   * @return
   */
  Express check(@Param("oid")String oid);

  /**
   * delivery
   * @param oid
   * @return
   */
  int delivery(@Param("oid")String oid);

  /**
   * delete
   * @param oid
   */
  void delete(@Param("oid") String oid);
}
